// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';

// 获取私有标签列表
export async function findHoliday(
  params: COMMON.ListCommon = { pageSize: 5, current: 1 },
  options?: Record<string, any>,
): Promise<COMMON.BaseSuccess<SPICEAPI.SPICE[]>> {
  return request('/api/portal/date-info/findHoliday', {
    method: 'GET',
    params: params,
    ...(options || {}),
  });
}
